package com.t20;

/**
 * Created by xuyiwei on 2018/9/15.
 */
public class ClassTest {
    public static void main(String[] args) throws ClassNotFoundException {
        Class cl = Class.forName("com.t20.ClassTest");
        //ClassTest
        System.out.println(cl.getSimpleName());
        //com.t20.ClassTest
        System.out.println(cl.getName());
    }
}
